package com.jzg.sys.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzp
 * @since 2019-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SEC_USER_MENU")
public class SecUserMenu extends Model<SecUserMenu> {

    private static final long serialVersionUID = 1L;

    @TableId("USER_MENU_ID")
    private String userMenuId;

    @TableField("MENU_ID")
    private String menuId;

    @TableField("USER_ID")
    private String userId;


    @Override
    protected Serializable pkVal() {
        return this.userMenuId;
    }

}
